package com.jt.www.model.woxuebao.toubao;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: cjw
 * @Description: 上下文订单对象
 * @Date: 15:36 2018/6/6
 */
public class ContextOrder implements Serializable {

    /**
     * 订单编码
     */
    private String code = "";

    /**
     * 订单来源（1PC/2移动/3合作方）
     */
    private String source = "00";

    /**
     * 订单类型（1自助投保/2代投保）
     */
    private String type = "00";

    /**
     * 录入人员
     */
    private String entryPerson = "";

    /**
     * 操作人员
     */
    private String operator = "";

    /**
     * 录入方式（1单笔/2批量）
     */
    private String entryType = "00";

    /**
     * 订单入口
     */
    private String entry = "";

    /**
     * 订单金额
     */
    private BigDecimal amount = BigDecimal.ZERO;

    /**
     * 订单优惠金额
     */
    private BigDecimal reduceAmount = BigDecimal.ZERO;

    /**
     * 支付类型
     */
    private String payType = "00";

    /**
     * 支付渠道
     */
    private String payChannal;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getEntryPerson() {
        return entryPerson;
    }

    public void setEntryPerson(String entryPerson) {
        this.entryPerson = entryPerson;
    }

    public String getEntryType() {
        return entryType;
    }

    public void setEntryType(String entryType) {
        this.entryType = entryType;
    }

    public String getEntry() {
        return entry;
    }

    public void setEntry(String entry) {
        this.entry = entry;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getReduceAmount() {
        return reduceAmount;
    }

    public void setReduceAmount(BigDecimal reduceAmount) {
        this.reduceAmount = reduceAmount;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPayChannal() {
        return payChannal;
    }

    public void setPayChannal(String payChannal) {
        this.payChannal = payChannal;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    @Override
    public String toString() {
        return "ContextOrder{" +
                "code='" + code + '\'' +
                ", source='" + source + '\'' +
                ", type='" + type + '\'' +
                ", entryPerson='" + entryPerson + '\'' +
                ", operator='" + operator + '\'' +
                ", entryType='" + entryType + '\'' +
                ", entry='" + entry + '\'' +
                ", amount=" + amount +
                ", reduceAmount=" + reduceAmount +
                ", payType='" + payType + '\'' +
                ", payChannal='" + payChannal + '\'' +
                '}';
    }
}
